﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="wfShopManager.aspx.cs"
    Inherits="msBsc.WebUi.wfShopManager" %>

<!DOCTYPE HTML>
<html>
<head id="Head1" runat="server"> 
    <title>我的店铺</title>
    <link rel="shortcut icon" href="/themes/Style1/Image/favicon.ico" type="image/x-icon" />
    <link rel="stylesheet" href="/??themes/Style1/StyleQt.css,themes/Style1/CustManager.css" />
    <script src="/??jqPlugin/js/jquery-1.8.3.min.js,js/jBase.js,js/jBPage.js,themes/Style1/jsQt.js,jqPlugin/js/laytpl.js"
        type="text/javascript"></script>
    <!--head fix rgn-->
    <script type="text/javascript">
        $(window).load(function () { 
        });
        function updateOrderTableHtml(_data) { 
            var tpl = HtmlUtil.htmlDecode(document.getElementById('order_list_temp').innerHTML);
            laytpl(tpl).render(_data, function (render) {
                $("#myOdTab").empty().append(render);
            }); 
        };
        function updatefileTableHtml(_data) {
            var tpl = HtmlUtil.htmlDecode(document.getElementById('file_list_temp').innerHTML);
            laytpl(tpl).render(_data, function (render) {
                $("#divFilelist").empty().append(render);
            }); 
        };
    </script>
    <style type="text/css">
	.odStepTab{width: 1000px; margin: auto;}
	.odStepTab td{width: 250px; text-align: center;}
	.odsTit td{color: #888; font-weight: bold; height: 35px;}
	.odsDtm td{color: #b5b5b5; height: 45px;} 
	#odTab{width: 660px; border-bottom: 1px solid #e6e6e6;}
	#odTab .odTabTit td{text-align: center; height: 35px; line-height: 35px; border: 1px solid #c4d5e0;
		background-color: #f4f7f9;  }
	#odTab .odSepTr td{height: 7px; line-height: 7px;}
	#odTab .odTitTr td{border: 1px solid #e6e6e6; height: 30px; background-color: #f3f3f3; border-bottom: none;}
	#odTab .odItemTr td{border: 1px solid #e6e6e6;  
		text-align: center; padding: 10px 0px; }
	#odTab .odItemTr .td1{border-left: 1px solid #e6e6e6; width: 250px;text-align: left; padding: 0px 10px;}
	#odTab .odItemTr .td1 img{width: 50px; height: 50px; border: 1px solid #e9e9e9;}
	#odTab .odItemTr .td2{width: 250px; vertical-align: top; text-align: left; border-right: none; line-height: 18px;}
	#odTab .odItemTr .td1 .odGoodsAttr{color: #808080;}
	#odTab .odItemTr .td3{width: 110px; border-right: none;}
	#odTab .odItemTr .td4{width: 110px;}
	#odTab .odItemTr .td6{width: 90px;  line-height: 20px;color:#c40000;}
	#odTab .odItemTr .td7{width: 90px; line-height: 20px;}
	#odTab .odItemTr .td8{width: 70px;}
	 #uInfoShow { height: 320px;width: 420px; }
	 #uHome_MyInfo { height: 280px; }
	 #uHeadImgWrap { width: 190px; height: 130px; }
	 #uHeadImg { width: 190px; height: 120px; }
	</style>
</head>
<body>
    <div id="mallPage" class="tms-page mallAct tmall-  page-not-market">
        <!-- -->
        <!--商城通用顶通-->
        <%=new msBsc.WebUi.Code.QtHtmlGet().GetHeaderTopHtml()%>
        <%=new msBsc.WebUi.Code.QtHtmlGet().GetHeaderLogoHtml("会员中心")%>
        <div id="content" class="content" style=" padding-top: 3px;">
            <div class="page lang-zh-S">
                <div id="mytaobao-panel" class="grid-c2">
                    <div class="col-main" id="J_Col_Main" style="padding-bottom: 0;">
                        <div class="main-wrap">
                            <div id="main-content">
                                <!-- BEGIN col-main -->
                                <div id="userMain" style=" background-color:#fff; ">
                                    <div id="uHome_MyInfo">
                                        <div id="uHeadImgWrap">
                                            <img id="uHeadImg" src="/themes/Style1/Image/u_head_110x110.png" width="190px" height="120px;">
                                        </div>
                                        <div id="uInfoShow" >
                                            <%=GetCustInfo()%>
                                        </div>
                                    </div>
                                    <div id="uHome_L1_right">
                                        <div class="uHomeTit">
                                            <div class="uHomeTit_txt">
                                                账户信息</div>
                                        </div>
                                        <div class="clear15">
                                        </div>
                                        <div style="height: 115px; padding: 0px 5px; padding-left:15px;" id="divLikeGList">
                                            <div style="height: 28px; font-size: 14px; line-height: 28px; color: #444;">
                                                <span>账户积分：</span> <span style="color:#c40000;" id="divAccountScore">0</span>
                                            </div>
                                            <div style="height: 28px; font-size: 14px; line-height: 28px; color: #444;">
                                                <span>冻结积分：</span> <span style="color:#c40000;" id="divFreezeScore">0</span>
                                            </div>
                                            <div style="height: 28px; font-size: 14px; line-height: 28px; color: #444;">
                                                <span>账户余额：</span> <span style="color:#c40000;" id="divAccountAmt">0.00</span>
                                            </div>
                                                <div id="uOrderCount" style="margin-left:0px;">
                                            <a href="/d_ShopTradingLog.htm" target="_blank">查看积分台帐</a> 
                                            <a href="/d_ShopChargeLedgerLog.htm" target="_blank">查看现金台帐</a> 
                                                </div>
                                        </div>
                                    </div>
                                    <div id="uHome_MyOrders">
                                        <div class="uHomeTit">
                                            <div class="uHomeTit_txt">
                                                店铺数据统计</div>
                                        </div>
                                        <div id="myOdTab">
                                        </div> 
                                    </div>
                                    <div id="uHome_L2_right">
                                        <div class="uHomeTit">
                                            <div class="uHomeTit_txt">
                                                图片中心</div>
                                        </div>
                                        <div class="clear15">
                                        </div>
                                        <div style="height: 115px; padding: 0px 5px; padding-left:15px;" id="divFilelist"> 
                                        </div>
                                    </div>
                                    <div class="clear0">
                                    </div>
                                </div>
                                <!-- end col-main -->
                            </div>
                        </div>
                    </div>
                    <div class="col-sub" id="J_Col_Sub">
                        <%=new msBsc.WebUi.Code.QtHtmlGet().GetDealerMenu()%>
                    </div>
                    <div style="clear:both;"></div>
                </div>
                    <div style="clear:both;"></div>
                <!-- end mytaobao-panel -->
            </div>
                    <div style="clear:both;"></div>
        </div>
                    <div style="clear:both;"></div>
        <%=new msBsc.WebUi.Code.QtHtmlGet().GetFloorHtml()%>
    </div>
    <!-- template --> 
    <textarea id="file_list_temp" style="display: none;"> 
    <table border="0" cellpadding="0" cellspacing="0" style="width:100%;">
					<thead>
						<tr style="border: 1px solid #e6e6e6; height: 30px; background-color: #f3f3f3; border-bottom: none; text-align:center; font-weight:bold;">
							<td  style="border: 1px solid #e6e6e6; height: 30px; padding:3px; ">文件扩展名</td>
							<td style="border: 1px solid #e6e6e6; height: 30px; padding:3px; ">数量</td>
							<td style="border: 1px solid #e6e6e6; height: 30px; padding:3px; ">大小(KB)</td>
						</tr>
					</thead>
					<tbody> 
                    {{#var ifcount=0;}}
                    {{#for(var i=0,len=d.rows.length;i < len;i++){}}
                    {{# ifcount+=parseInt(d.rows[i].FILE_SIZE);}}
							<tr style="border: 1px solid #e6e6e6; height: 30px; padding:3px;text-align:center; ">
							<td style="border: 1px solid #e6e6e6; height: 30px; padding:3px; " >{{d.rows[i].FILE_EXT}}</td>
							<td style="border: 1px solid #e6e6e6; height: 30px; padding:3px; ">{{d.rows[i].FILE_COUNT}}</td>
							<td style="border: 1px solid #e6e6e6; height: 30px; padding:3px; ">{{d.rows[i].FILE_SIZE}}</td>
							</tr> 
                    {{#}}}
					</tbody>
				</table>  
            <div style="height: 38px; font-size: 15px; line-height: 28px; color: #777; padding:5px;">
                <span>占用空间合计：</span> <span style="color:#c40000;">{{ifcount}}</span> kb              
                                            <a href="/d_GoodsImagesManager.htm" style=" margin-left:30px;"  target="_blank">管理文件</a> 
            </div>
            <div style="clear:both;height:10px;"></div>
    </textarea>

    <textarea id="order_list_temp" style="display: none;"> 
    <table id="odTab" border="0" cellpadding="0" cellspacing="0">
					<thead>
						<tr class="odTabTit">
							<td >统计时间</td>
							<td >成交笔数</td>
							<td>成交金额</td>
							<td>成交用户</td>
							<td>送出积分</td>
							<td>退款订单</td>
						</tr>
					</thead>
					<tbody> 
                    {{#for(var i=0,len=d.rows.length;i < len;i++){}}
							<tr class="odItemTr">
							<td >{{d.rows[i].ROW_LAB}}</td>
							<td>{{d.rows[i].ORDER_COUNT}}</td>
							<td>{{d.rows[i].ORDER_AMT}}</td>
							<td>{{d.rows[i].ORDER_USR}}</td>
							<td>{{d.rows[i].ORDER_SCORE}}</td>
							<td>{{d.rows[i].ORDER_CLOSE}}</td>
							</tr> 
                    {{#}}}
					</tbody>
				</table>  
    </textarea>

</body>
</html>
